#ifndef FACULTYDIALOG_H
#define FACULTYDIALOG_H

#include <QDialog>
#include <QSqlQueryModel>

namespace Ui {
class facultyDialog;
}

class facultyDialog : public QDialog
{
    Q_OBJECT
    
public:
    explicit facultyDialog(QWidget *parent = 0);
    ~facultyDialog();    
    void getFaculty();
    
private:
    Ui::facultyDialog *ui;
    QSqlQueryModel *model;

public slots:
    void BtnEnabled(QString str);
    void AddFaculty();
    void DeleteFaculty();
};

#endif // FACULTYDIALOG_H
